﻿window.onload = function () {
    //document.oncontextmenu = new Function("return false");
    //document.onselectstart = new Function("return false");
};

function checknum(event) {
    var charCode = (event.which) ? event.which : event.keyCode;
    if (charCode > 31 && (charCode < 48 || charCode > 57))
        return false;
    return true;
}

function popup(page, nom, option) {
    window.open(page, nom, option);
}